package com.liuda.workbench.service;

import com.liuda.settings.domain.User;
import com.liuda.workbench.domain.Clue;
import com.liuda.workbench.domain.Count;

import java.util.List;
import java.util.Map;

public interface ClueService {
    List<Clue> queryClueByConditions(Clue clue,Integer startPage,Integer rowsPerPage);
    int queryClueCountByCondition(Clue clue);
    int insertClueSelective(Clue clue);
    Clue queryForDetailById(String id);
    Clue queryById(String id);
    void convert(Map<String, Object> map, User user) throws Exception;
    int updateById(Clue clue);
    int deleteByIds(String[] ids);

    List<Count> getClueCountByOwner();
}
